# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=rfidtool
pkgver=0.01
pkgrel=6
groups=('blackarch' 'blackarch-wireless')
pkgdesc="A opensource tool to read / write rfid tags"
arch=('x86_64' 'aarch64')
license=('GPL')
url='http://www.bindshell.net/tools/rfidtool.html'
source=("http://www.bindshell.net/tools/$pkgname/$pkgname-v$pkgver.tar.bz2")
sha512sums=('c60185355c6f42972aff86662c4be55a91b97dd6')

build() {
  cd "$pkgname-v$pkgver"
  make
}

package() {
  cd "$pkgname-v$pkgver"

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

